﻿using B.S.Material.Domain.BOM;
using B.S.Material.ErrorCode;
using MediatR;

namespace B.S.Material.Read.Api.Applications.Command.MaterialsCommnad
{
    public class GetMaterialsCommnad : IRequest<ApiResult<ApiPaging<Materials>>>
    {
        public int pageindex { get; set; }
        public int pageSize { get; set; }
        /// <summary>
        /// 物料清单主题
        /// </summary>
        public string? BOMSubject { get; set; }
        /// <summary>
        /// 物料清单编号
        /// </summary>
        public string? DocumentNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? Creator { get; set; }
        /// <summary>
        /// 保存时间
        /// </summary>
        public DateTime? CreationTime { get; set; }
    }
}
